package db.dao;

/**
 * StuCourse entity. @author MyEclipse Persistence Tools
 */

public class StuCourse implements java.io.Serializable {

	// Fields

	private StuCourseId id;
	private Student student;
	private TeaCourse teaCourse;
	private Short score;

	// Constructors

	/** default constructor */
	public StuCourse() {
	}

	/** minimal constructor */
	public StuCourse(StuCourseId id, Student student, TeaCourse teaCourse) {
		this.id = id;
		this.student = student;
		this.teaCourse = teaCourse;
	}

	/** full constructor */
	public StuCourse(StuCourseId id, Student student, TeaCourse teaCourse, Short score) {
		this.id = id;
		this.student = student;
		this.teaCourse = teaCourse;
		this.score = score;
	}

	// Property accessors

	public StuCourseId getId() {
		return this.id;
	}

	public void setId(StuCourseId id) {
		this.id = id;
	}

	public Student getStudent() {
		return this.student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public TeaCourse getTeaCourse() {
		return this.teaCourse;
	}

	public void setTeaCourse(TeaCourse teaCourse) {
		this.teaCourse = teaCourse;
	}

	public Short getScore() {
		return this.score;
	}

	public void setScore(Short score) {
		this.score = score;
	}

}